@namespace Microsoft.FluentUI.AspNetCore.Components
@inherits FluentInputBase<TValue>
@typeparam TValue
@attribute [CascadingTypeParameter(nameof(TValue))]
<FluentInputLabel ForId="@Id" Label="@Label" AriaLabel="@AriaLabel" style="margin-bottom: calc(var(--design-unit) * 3px);">@LabelTemplate</FluentInputLabel>
<fluent-slider @ref=Element
               class="@ClassValue"
               style="@StyleValue"
               readonly="@ReadOnly"
               min="@FormatValueAsString(Min)"
               max="@FormatValueAsString(Max)"
               step="@FormatValueAsString(Step)"
               orientation="@Orientation.ToAttributeValue()"
               mode="@Mode.ToAttributeValue()"
               id="@Id"
               @bind-value="CurrentValueAsString"
               disabled="@Disabled"
               name=@Name
               required=@Required>
    @ChildContent
</fluent-slider>
